Add branded OAuth consent page - #148
Open
masnwilliams wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
masnwilliams
force-pushed
the
hypeship/branded-oauth-consent
branch
from
August 10, 2026 17:27
c5475ad to
bef8fc4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
summary
/oauth-consentroute using Clerk’s prebuilt consent componentrollout
/oauth-consenttesting
bun testbun run build/oauth-consentreturnsframe-ancestors 'none'andX-Frame-Options: DENYNote
Medium Risk
Major Clerk SDK upgrade and new OAuth consent surface touch authentication flows; framing headers and redirect URL behavior need post-deploy Clerk dashboard config and regression on authorize/select-org.
Overview
Adds a Kernel-branded
/oauth-consentroute that renders Clerk’sOAuthConsentcomponent behindShow/RedirectToSignIn, so signed-in users see the consent UI with the wordmark and loading fallback.Upgrades
@clerk/nextjsfrom v6 to v7 and renamesClerkProviderappearance variables inlayout.tsxto the v7 tokens (colorForeground,colorMutedForeground,colorInput, etc.).Hardens the consent URL in
next.config.tswithContent-Security-Policy: frame-ancestors 'none'andX-Frame-Options: DENYfor/oauth-consent.On
select-org, replacesUserButtonwith a customSignOutButtonthat usesredirectUrlincluding the current query string so OAuth parameters survive account switching.Reviewed by Cursor Bugbot for commit bef8fc4. Bugbot is set up for automated code reviews on this repo. Configure here.